package cn.exrick.xboot.modules.transport.service;

import cn.exrick.xboot.modules.transport.param.QueryUserAddressBookParam;
import cn.exrick.xboot.modules.transport.vo.UserAddressBookVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.exrick.xboot.modules.transport.entity.UserAddressBook;

/**
 * 用户地址簿表接口
 * @author gj
 */
public interface UserAddressBookService extends IService<UserAddressBook> {

    UserAddressBookVo getUserAddressById(Long id);

    IPage<UserAddressBookVo> getByCondition(Page page, QueryUserAddressBookParam param);
}